* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
@color1:#e0e0e0;
@color2:#757575;
@color: #f7f7f7;
a {
	text-decoration: none;
}
.top-bar {
	background-color: @color1;
	position: relative;
	.banner {
		height: 45px;
		width: 1270px;
		margin: 0 auto;
		padding: 0 40px;
		// text-align: center;
		span {
			line-height: 45px;
			height: 45px;
		}
		.left {
			color: @color2;
    	font-size: 12px;
		}
		.right {
			float: right;
			display: flex;
			// width: 350px;
			align-items: center;
			// position: relative;
			i {
				margin: 0 14px;
				font-size: 24px;
				color: @color2;
			}
			// input {
			// 	outline: none;
			// 	border: none;
			// 	padding-left: 10px;
			// 	height: 32px;
			// 	width: 200px;
			// 	display: none;
			// 	// transition: all 0.8s;
			// 	border-radius: 4px;
			// 	margin-right: 20px;
			// }
		}
	}
}
li {
	list-style-type: none;
}
header {
	height: 175px;
	background: #f7f7f7 url(../img/bg.jpg);
	.nav {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		width: 100%;
		li {
			margin: 0 32px;
			font-size: 12px;
			position: relative;
			// &:hover {
			// 	a {
			// 		position: absolute;
			// 		transform: scale(1.5);
			// 		transition: all 1s;
			// 		z-index: 8;
			// 	}
			// }
			a {
				font-size: 16px;
				color: #707070;
				margin-left: 5px;
				
			}
		}
	}
}

.swiper-container {
	.mask {
		.title {
			color: white;
			text-align: center;
			line-height: 450px;
			font-size: 60px;
			letter-spacing: 25px;
		}
	}
}
body {
	background-color: @color;
	// padding-bottom: 50px;
}
#first,#second,#third,#fourth {
	width: 1270px;
	margin: 0 auto;
	margin-top: 25px;
}
#first {
	display: flex;
	margin-top: 50px;
	justify-content: space-between;
	&>div {
		width: 630px;
		padding: 10px;
		background-color: white;
		border: 1px solid #dddddd;
		img {
			width: 100%;
		}
	}
}
.second-header {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-bottom: 20px;
	&::before {
		position: absolute;
		content: '';
		width: 165px;
		height: 2px;
		background-color: #999999;
		left: 0;
		bottom: 0px;
		margin: -1px;
	}
	h2 {
		font-family: 微软雅黑;
		font-size: 20px;
		font-weight: normal;
		font-style: normal;
		color: #333333;
		padding-bottom: 10px;
		vertical-align: bottom;
	}
	span {
		text-align: center;
		font-family: 微软雅黑;
		font-size: 12px;
		height: 28px;
		line-height: 28px;
		color: #969696;
		border-width: 1px;
		border-style: solid;
		border-color: #a5a5a5;
		padding: 5px 15px;
	}
}
#second {
	.new-flower {
		.flower {
			display: flex;
			justify-content: space-between;
			li {
				overflow: hidden;
				max-width: 24.95%;
				border: 1px solid rgba(229,229,229,1);
    		background-color: #ffffff;
				padding-bottom: 50px;
				transition: all 0.8s;
				img {
					width: 100%;
				}
				figure {
					transition: all 0.8s;
				}
				figcaption {
					
					.price {
						color: #999999;
						margin-top: 25px;
						font-size: 15px;
						font-family: 微软雅黑;
						line-height: 21px;
					}
					.name {
						color: #666666;
						font-size: 15px;
						font-family: 微软雅黑;
					}
					span {
						display: block;
						text-align: center;
						margin-top: 18px;
					}
				}
				&:hover {
					box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
					figure {
						transform: scale(1.1);
						
					}
				}
			}
		}
	}
}
#third {
	.content {
		display: flex;
		justify-content: space-between;
		.left {
			width: 840px;
			.box1 {
				display: flex;
				border: 1px solid rgba(221,221,221,1);
				margin-bottom: 30px;
				.abstract {
					padding: 20px;
					.title {
						color: #333333;
						font-size: 16px;
						font-family: 微软雅黑;
						line-height: 16px;
						margin-bottom: 18px;
					}
					del {
						color: #999;
						font-size: 13px;
						font-family: 微软雅黑;
						line-height: 22px;
						padding-top: 20px;
						margin-top: 30px;
					}
					p {
						color: #777777;
						font-size: 13px;
						text-indent: 2em;
						font-family: 微软雅黑;
						line-height: 22px;
						padding-top: 20px;
					}
				}
			}
		}
		.right {
			position: relative;
			overflow: hidden;
			&:hover {
				.mask {
					display: block;
					.abstract {
						right: 0;
					}
				}
			}
			.mask {
				display: none;
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				background: rgba(0, 0, 0,.4);
				.abstract {
					position: absolute;
					right: -1000px;
					padding: 20px;
					text-align: center;
					margin-top: 50px;
					color: #fff;
					
					.h1 {
						font-size: 16px;
						font-family: 微软雅黑;
						line-height: 16px;
						
						margin-bottom: 18px;
					}
					del {
						
						font-size: 13px;
						font-family: 微软雅黑;
						line-height: 22px;
						padding-top: 20px;
						margin-top: 30px;
					}
					p {
						font-size: 13px;
						text-indent: 2em;
						font-family: 微软雅黑;
						line-height: 22px;
						padding-top: 20px;
					}
				}
			}
		}
	}
}

#fourth {
	.content {
		ul {
			display: flex;
			justify-content: space-between;
		}
		li {
			padding: 20px;
			height: 590px;
			width: 24%;
			background-color: #fff;
			&:hover {
				box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

			}
			a {
				display: flex;
				padding: 10px;
				flex-direction: column;
				border: 2px solid rgba(229,229,229,1);;
				.bottom {
					height: 200px;
					text-align: center;
					.name {
						color: #666666;
						font-size: 13px;
						font-family: 微软雅黑;
						font-weight: normal;
						margin-top: 90px;
					}
					.price {
						margin-top: 20px;
						color: #333333;
						font-size: 24px;
						font-family: Raleway;
					}
				}
			}
			
		}

	}
}

.searchBox {
	display: none;
	position: absolute;
	right: 240px;
	bottom: -54px;
	width: 280px;
	background-color: white;
	padding: 8px;
	// display: flex;
	justify-content: center;
	align-items: center;
	.flex-box {
		display: flex;
		align-items: center;
		.layui-btn {
			border-radius: 3px;
			height: 34px;
			line-height: 34px;
		}
	}
}
footer {
	color: @color1;
	padding: 20px;
	.display {
		display: flex;
		justify-content: center;
		margin: 0 auto;
	}
	.contact {
		margin: 0 50px;
		span {
			display: block;
			margin: 8px 0;
		}
	}
}


